<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
.black_overlay {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index: 1001;
	-moz-opacity: 0.3;
	opacity: .5;
	filter: alpha(opacity =                 80);
}

.white_content {
	display: none;
	position: absolute;
	top: 20%;
	left: 40%;
	width: 20%;
	height: 70%;
	border: 5px solid #536f84;
	background-color: white;
	z-index: 1002;
	overflow: auto;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜事网-主题编辑</title>
<jsp:include page="includes.jsp" />
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
	import="java.util.*" pageEncoding="utf-8"%>
</head>
<body>
	<div class="wrap">
		<!-- header:start -->
		<jsp:include page="banner.jsp" />
		<!-- header:end -->
		<div id="body">
			<div id="left" class="wrap">
				<h1 class="page">
					<span>编辑主题</span>
				</h1>
				<div class="main lside176">
					<jsp:include page="left_banner.jsp" />
					<div class="middle w804">
						<div id="left" class="w804">
							<div class="main">

								<div class="tabContent">
									<div class="listForm">

										<form id="myForm" action="updateTopic.do" method="post">
 											<s:textfield name="topicId" style="display:none"></s:textfield> 
											<table>
												<tr>
													<td>名称</td>
													<td><s:textfield type="text" name="name"
															theme="simple" /></td>
												</tr>

												<tr>
													<td>描述</td>
													<td><s:textfield type="text" name="description"
															theme="simple" /></td>
												</tr>

												<tr>
													<td>媒体分组</td>
													<td>
													
													<select name="selectedSourceCategory">
															<s:iterator value="filters">
																<s:if test="name==sourceCategoryName">
																	<option selected="selected" value="${name}">
																		<s:property value="name" />
																	</option>
																</s:if>
																<s:else>
																	<option value="${name}">
																		<s:property value="name" />
																	</option>
																</s:else>
															</s:iterator>
													</select></td>
												</tr>

												<tr>
													<td>时间范围</td>
													<td>
													<select  name="selectedWithinPublishedTime">
															<s:if test="withinPublishedTime==0">
																<option value="0" selected="selected">今天</option>
																<option value="7">一周以内</option>
																<option value="30">一月以内</option>
																<option value="360">一年以内</option>
															</s:if>
															<s:if test="withinPublishedTime==7">
																<option value="0">今天</option>
																<option value="7" selected="selected">一周以内</option>
																<option value="30">一月以内</option>
																<option value="360">一年以内</option>
															</s:if>
															<s:if test="withinPublishedTime==30">
																<option value="0">今天</option>
																<option value="7">一周以内</option>
																<option value="30" selected="selected">一月以内</option>
																<option value="360">一年以内</option>
															</s:if>
															<s:if test="withinPublishedTime==360">
																<option value="0">今天</option>
																<option value="7">一周以内</option>
																<option value="30">一月以内</option>
																<option value="360" selected="selected">一年以内</option>
															</s:if>
													</select></td>
												</tr>

												<tr>
													<td>全包含</td>
													<td><s:textfield type="text" name="include"
															theme="simple" /></td>
												</tr>

												<tr>
													<td>可包含</td>
													<td><s:textfield type="text" name="optional"
															theme="simple" /></td>
												</tr>

												<tr>
													<td>不包含</td>
													<td><s:textfield type="text" name="exclude"
															theme="simple" /></td>
												</tr>

												<tr>
													<td>是否负面</td>
													<td><select  name="selectedIsNegative">
															<s:if test="isNegative==1">
																<option value="1" selected="selected">是</option>
																<option value="0">否</option>
															</s:if>
															<s:else>
																<option value="1">是</option>
																<option value="0" selected="selected">否</option>

															</s:else>
													</select></td>
												</tr>

												<tr>
													<td>是否预警</td>
													<td><select  name="selectedIsWarn">
															<s:if test="isWarn==1">
																<option value="1" selected="selected">是</option>
																<option value="0">否</option>
															</s:if>
															<s:else>
																<option value="1">是</option>
																<option value="0" selected="selected">否</option>

															</s:else>
													</select></td>
												</tr>

												<tr>
													<td>结束时间</td>
													<td><s:textfield type="text" name="expireDttm"
															theme="simple" /></td>
												</tr>
											</table>
											<input type="submit" value="保存" />
										</form>


								



									</div>
								</div>
							</div>
						</div>
					</div>
						<jsp:include page="footer.jsp" />
					
					<div class="clear"></div>
				</div>
			</div>
		</div>
	</div>








</body>
</html>
